//
//  SliderBannerItemCell.m
//  HAHAWENWAN
//
//  Created by xiaowu on 2017/10/16.
//  Copyright © 2017年 ZDQK. All rights reserved.
//

#import "SliderBannerItemCell.h"

@implementation SliderBannerItemCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setType:(SliderBannerItemCellType)Type {
    _Type = Type;
    if (Type == SliderBannerItemCellTypeForNormal) {
        self.playButton.hidden = YES;
    } else {
        self.playButton.hidden = NO;
    }
}

- (IBAction)playButton:(id)sender {
    if (self.block) {
        self.block();
    }
}
@end
